<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>

<body>
    <div id="app">
       <p>姓名：{{name}}</p>
       <p>年龄：{{age}}</p>
       <p>兴趣爱好：{{hobby}}</p>
       <p>专业：{{major}}</p>
    </div>
</body>
<script>
    const info ={
        data() {
            return {
                name:'zhuli',
                age:'20',
                hobby:'敲代码',
                major:'计算机222',
            }
        }
    }

    Vue.createApp(info).mount('#app')
</script>

</html>